Kubernetes (K8) Helm Rollback
The Helm Rollback command can reverse the release revision. The release name and the revision number are the first and second arguments of the rollback command.
If the revision number argument is left out, the Helm Rollback command reverts to the previous release. The helm Upgrade and Rollback mechanism are only for the changing environment variables in the running Pods.
Commands:
helm rollback corporatelos-n corporatelos
Example:
In the CorporateLoS, if the log as "logger_root_level=INFO" is executed, then the info logs are generated. If the log level is ERROR in the previous version and we want the error logs, it should be roll backed to "logger_root_level=ERROR."
helm rollback corporatelos -n corporatelos
The above command helps to rollback to old version "ERROR without Disruption" in less time.
helm rollback corporatelos 2 -n corporatelos
The above command helps to rollback to version 2 in less time.
Follow the below steps to rollback the Helm package.
- Navigate to ms-corporatelos-helm-sql-pack-<version>\rollback and select the rollback folder where Helm rollback batch and shell scripts are available.
- Run the helm-rollback script or update the version to rollback the deployment to the previous version.

In this topic